/*
 * TepcoMeter:HourDto.java
 * Copyright © 2011 ho9ho9 All Rights Reserved.
 */
package com.ho9ho9.tepcometer.dto;

/**
 * Hoursクラス.
 * @author ho9ho9
 */
public class HourDto implements Cloneable {

	private Integer wattHour;
	private Integer wattValue;
	
	public Integer getWattHour() {
		return wattHour;
	}
	public Integer getWattValue() {
		return wattValue;
	}
	public void setWattHour(Integer wattHour) {
		this.wattHour = wattHour;
	}
	public void setWattValue(Integer wattValue) {
		this.wattValue = wattValue;
	}
	
	@Override
	public Object clone() {
		HourDto result = new HourDto();
		result.setWattHour(wattHour);
		result.setWattValue(wattValue);
		return result;
	}
	
	/**
	 * {@inheritdoc}
	 */
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("wattHour=").append(wattHour);
		sb.append(",wattValue=").append(wattValue);
		return sb.toString();
	}
}
